﻿
namespace Seesmic.HelloTipi
{
    using Seesmic.Sdp.Extensibility;
    using Seesmic.Sdp.Utils;
    using System;
    using Seesmic.Sdp.Utils;

    public class BaseAction
    {
        public void ShowBarNotification(string text, string messageFormat, BarNotificationKind barKind, TimeSpan? duration, params object[] formatParams)
        {
            SynchronizationHelper.Post(delegate
            {
                HelloTipiPlugin.ShowBarNotification(text, messageFormat, barKind, duration, formatParams);
            });
        }

        public void ShowDialogNotification(string title, string messageFormat, DialogNotificationButtons buttons, params object[] formatParams)
        {
            SynchronizationHelper.Post(delegate
            {
                HelloTipiPlugin.ShowDialogNotification(title, messageFormat, buttons, formatParams);
            });
        }
    }
}

